//----------T_Project开始----------
using Dapper;
using System;
namespace R.DMS.Data
{

    /// <summary>
    /// 数据表实体类：项目资料
    /// </summary>
    [Table("T_Project")]
    public class ProjectEntity
    {

        /// <summary>
        /// Int32:编号
        /// </summary>                       
        [Key]
        public Int32 P_Id { get; set; }

        /// <summary>
        /// String:名称
        /// </summary>                       
        public String P_ProjectName { get; set; }

        /// <summary>
        /// Byte:状态 0未申报的、1正在申报的、2已申报完的
        /// </summary>                       
        public Byte P_Status { get; set; }

        /// <summary>
        /// 状态描述
        /// </summary>
        [Editable(false)]
        public String P_StatusDesc
        {
            get
            {
                return G_IS.Comm.EnumHelper.GetDesByValue<EnumProjectStatus>(P_Status);
            }
        }

        /// <summary>
        /// Boolean:无效标识  1无效、0有效
        /// </summary>                       
        public Boolean P_DeleteFlag { get; set; }

        /// <summary>
        /// String:客户编号
        /// </summary>                       
        public String P_CustomerNo { get; set; }

        /// <summary>
        /// String:客户名称
        /// </summary>                       
        public String P_CustomerName { get; set; }

        /// <summary>
        /// DateTime:创建日期 默认为当前时间
        /// </summary>                       
        public DateTime P_CreateTime { get; set; }

        /// <summary>
        /// String:创建人编号 当前用户ID
        /// </summary>                       
        public String P_CreatorUserId { get; set; }

        /// <summary>
        /// String:创建人姓名
        /// </summary>                       
        public String P_CreatorUserName { get; set; }

        /// <summary>
        /// DateTime:更新时间
        /// </summary>                       
        public DateTime? P_UpdateTime { get; set; }

        /// <summary>
        /// String:更新人编号
        /// </summary>                       
        public String P_UpdateUserId { get; set; }

        /// <summary>
        /// String:更新人名称
        /// </summary>                       
        public String P_UpdateUserName { get; set; }

        /// <summary>
        /// String:备注
        /// </summary>                       
        public String P_Remark { get; set; }

    }
}

//----------T_Project结束----------

